package com.blue.integration.config;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * integration自定义命名空间注册处理器
 *
 * @author Jin Zheng
 * @since 1.0 2019-01-09
 */
public class IntegrationNamespaceHandler extends NamespaceHandlerSupport
{
	public IntegrationNamespaceHandler()
	{
	}

	@Override
	public void init()
	{
		this.registerBeanDefinitionParser("encryption-placeholder", new EncryptionPlaceholderParser());
		this.registerBeanDefinitionParser("amqp-json-convertor", new AmqpJsonConvertorParser());
		this.registerBeanDefinitionParser("redis-json-serializer", new RedisJsonSerializerParser());
		this.registerBeanDefinitionParser("redis-cache", new RedisCacheParser());
	}
}
